package com.nengchuan.eic.nceconomy.service;

import com.eic.psm.sdk.entity.CoreSection;
import com.eic.psm.sdk.vo.CoreSectionDepartInfoVo;
import com.nengchuan.eic.nceconomy.entity.dto.RoleDistributionDTO;
import com.nengchuan.eic.nceconomy.entity.vo.*;
import com.nsc.boot.common.sdk.vo.IPage;
import com.nsc.boot.common.utils.page.PageQuery;

import java.util.List;
import java.util.Map;

/**
 * 功能描述:
 *
 * @Author: liurui
 * @Date: 2020/5/15 0015 下午 3:07
 */

public interface RoleMangeService {

    String distribution(RoleDistributionDTO roleDistributionDTO);

    List<OrgRole> getRoleListInfo(Long orgId);

    String delete(RoleDistributionDTO roleDistributionDTO);

    Map<String ,List<DutyInfoVO>> getDutyList(Long orgId);

    String deleteOnProject(RoleDistributionDTO roleDistributionDTO);

    String distributionProject(RoleDistributionDTO roleDistributionDTO);


    List<CoreSectionVO> getCoreSectionInfo(List<CoreSection> coreSection, List<CoreSectionDepartInfoVo> departInfo);

    List<ProjectInfo> getTechnoProjectInfo(Long projectId);

    IPage<OrgProject> getTechnoProjectList(PageQuery pageQuery, Integer unitType, String projectName, Long unitId, String erpCode, String projectStage);
}
